package com.lmm.lcuser.lc_user.dbmodel;

import io.realm.RealmObject;

/**
 *
 * @author xmgong
 * @date 2017/5/4
 */

public class AreaRealm extends RealmObject {

    /**
     * {id=1, name=江苏省, level=1, type=0, code=001, parentId=-1, sortNo=0, category=J}
     */
    public int id;
    public String name;
    public int level;
    /**
     * 0.省
     * 1.市
     * 2.县
     * 3.区
     */
    public int type;
    public String code;
    public int parentId;
    public int sortNo;
    public String category;

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public int getSortNo() {
        return sortNo;
    }

    public void setSortNo(int sortNo) {
        this.sortNo = sortNo;
    }
}
